/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.colswe.solestac.VO;

import java.util.List;

/**
 *
 * @author Edison Parra
 * @version 1.0
 */
public class UserVO {
    /**Username from the user.
     */
    private String username;
    /**Password from the user.
     */
    private String password;
    /**Password confirmation.
     */
    private String repassword;
    /**Role from the user.
     */
    private String role;
    /**Document from the user.
     */
    private String document;
    /**Permissions from the user.
     */
    private List<String> permissions;
    /**ID from the user.
     */
    private long id;
    
    /**Getter for Repassword.
     * @return The Repassword value
     */
    public String getRepassword() {
        return repassword;
    }

    /**Setter for Repassword.
     * @param newRepassword The new Repassword.
     */
    public void setRepassword(final String newRepassword) {
        this.repassword = newRepassword;
    }

    /**Getter for Document.
     * @return The Document value
     */
    public String getDocument() {
        return document;
    }

    /**Setter for Document.
     * @param newDocument The new Document.
     */
    public void setDocument(final String newDocument) {
        this.document = newDocument;
    }

    /**Getter for Password.
     * @return The Password value
     */
    public String getPassword() {
        return password;
    }
    
    /**Setter for Password.
     * @param newPassword The new Password.
     */
    public void setPassword(final String newPassword) {
        this.password = newPassword;
    }

    /**Getter for Permissions.
     * @return The Permissions list
     */
    public List<String> getPermissions() {
        return permissions;
    }

    /**Setter for Permissions.
     * @param newPermissions The new Permissions.
     */
    public void setPermissions(final List<String> newPermissions) {
        this.permissions = newPermissions;
    }

    /**Getter for Role.
     * @return The Role value
     */
    public String getRole() {
        return role;
    }

    /**Setter for RoleID.
     * @param newRoleId The new RoleID.
     */
    public void setRole(final String newRoleId) {
        this.role = newRoleId;
    }

    /**Getter for Username.
     * @return The Username value
     */
    public String getUsername() {
        return username;
    }

    /**Setter for Username.
     * @param newUsername The new Username.
     */
    public void setUsername(final String newUsername) {
        this.username = newUsername;
    }

    /**Getter for ID.
     * @return The ID value
     */
    public long getId() {
        return id;
    }

    /**Setter for ID.
     * @param newId The new ID.
     */
    public void setId(final long newId) {
        this.id = newId;
    }
}
